package com.fyt.reachgo.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 用户点赞记录表
 * @TableName user_like
 */
@Data
@TableName("user_like")
public class UserLike {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Integer guideId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    public UserLike() {

    }

    public UserLike(Long userId, Integer guideId, Object o) {
        this.userId = userId;
        this.guideId = guideId;
        this.createTime = (Date) o;
    }
}